Keycloak REST Services 1.2.0.Final

Path: / admin / realms / {realm} / clients-by-id

List of clients belonging to this realm.

Path parameters:
realm - realm name (not id!)

Sub-Resources
Resources
NameDescription
{app-name}Get representation of the client.

Resource Methods
Method Summary
NameDescription
GET /admin/realms/{realm}/clients-by-idList of clients belonging to this realm.
POST /admin/realms/{realm}/clients-by-idCreate a new client.

Method Detail

GET /admin/realms/{realm}/clients-by-id

List of clients belonging to this realm.

HTTP Example:
GET /admin/realms/{realm}/clients-by-id
API Example:

ClientsByIdResource.getClients({'realm': /* name realm name (not id!) */});

Output:
List<ClientRepresentation> -
Produces:
application/json

POST /admin/realms/{realm}/clients-by-id

Create a new client. Client client_id must be unique!

HTTP Example:
POST /admin/realms/{realm}/clients-by-id
API Example:

ClientsByIdResource.createClient({'realm': /* name realm name (not id!) */,
  '$entity': /* rep */});

Input:
ClientRepresentation
Output:
Response -
Consumes:
application/json

Keycloak REST Services 1.2.0.Final